// pages/daijin/daijin.js
const app = getApp();
Page({

  data: {
    show_a: '',
    GRADE: '',
    panduan:'',
    fuwu: false,
    fuwuvip: false,
    fuwuyxc: false,
    fuwuyy: false,
    fuwuyxckhy: false,
  },




fuwu() {
  // this.setData({ show: true });
  this.setData({
    fuwu: !this.data.fuwu
  })
},




fuwuvip() {
  // this.setData({ show: true });
  this.setData({
    fuwuvip: !this.data.fuwuvip
  })
},


fuwuyxc() {
  // this.setData({ show: true });
  this.setData({
    fuwuyxc: !this.data.fuwuyxc
  })
},

fuwuyy() {
  // this.setData({ show: true });
  this.setData({
    fuwuyy: !this.data.fuwuyy
  })
},

fuwuyxckhy() {
  // this.setData({ show: true });
  this.setData({
    fuwuyxckhy: !this.data.fuwuyxckhy
  })
},





  fenxian() {
    wx.navigateTo({
      url: "/pages/jsqxuanze/jsqxuanze",
    })
  },


  zhuanjiema() {
    wx.navigateTo({
      url: "/pages/zhuanjiematianjiayuangongye/zhuanjiematianjiayuangongye",
    })
  },


  youxinchun() {
    wx.navigateTo({
      url: "/pages/kaihongyuntiaozhuan/kaihongyuntiaozhuan",
    })
  },



  xinjicha() {
    wx.navigateTo({
      url: "/pages/newxinkechaxun/newxinkechaxun",
    })
  },





  vipzhuan() {
    wx.navigateTo({
      url: "/pages/vipjinjizhuanxiangyuantiao/vipjinjizhuanxiangyuantiao",
    })
  },




  goempty() {
    wx.navigateTo({
      url: "/pages/newyueyeuxiangdierxincha/newyueyeuxiangdierxincha",
    })
  },




  goxkx() {
    console.log('ssss');
    wx.navigateTo({
      url: '/pages/xkzx/xkzx'
    })
  },
  goback() {
    wx.navigateBack({
      delta: 1,
    })
  },


  youxinxiang() {
    wx.navigateTo({
      url: '../../pages/newyouxincaisaoma/newyouxincaisaoma'
    })

  },



  newqian() {
    wx.navigateTo({
      url: '../../pages/newqianyuanjihuo/newqianyuanjihuo'
    })

  },





  lvyoujihuo() {
    wx.navigateTo({
      url: '../../pages/xiancaizhailuyoujihuo/xiancaizhailuyoujihuo'
    })

  },


  xinyong() {
    wx.navigateTo({
      url: '../../pages/xianxingyongkazhuce/xianxingyongkazhuce'
    })

  },


  tianjiatuangou() {
    wx.navigateTo({
      url: '../../pages/shequtuangouyuangongtiaozhuan/shequtuangouyuangongtiaozhuan'
    })

  },

  dapaisong() {
    wx.navigateTo({
      url: '../../pages/youhuidafangsongxuanze/youhuidafangsongxuanze'
    })

  },



  zoufang() {

    wx.navigateTo({
      url: '../../pages/zhoufangxuanze/zhoufangxuanze?data=' + this.data.GRADE
    })
  },



  chou_a() {
    wx.navigateTo({
      url: '../../pages/daipai/daipai'
    })
  },





  dingwei() {
    wx.navigateTo({
      url: '../../pages/xianshangjiadingwei/xianshangjiadingwei'
    })
  },





  //新课有礼
  xingke() {
    wx.navigateTo({
      url: '../../pages/xingkezc/xingkezc'
    })
  },

  cha_gx() {
    wx.navigateTo({
      url: '../../pages/gxtiaoz/gxtiaoz'
    })
  },






  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(e) {

    console.log(e.data);

    console.log(JSON.parse(e.data));

    let panduan = JSON.parse(e.data)

    this.setData({

      panduan:panduan

    })
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {




  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})